<?php
$title = 'Delete product';
$this->headTitle($title);
?>
<div class="panel panel-danger">
    <div class="panel-heading">
	<h4><?php $this->escapeHtml($title); ?></h4>
    </div>
    <div class="panel-body">
	<p>Are you sure that you want to delete 
	    '<?php echo $this->escapeHtml($product->name); ?>' ?
	</p>
	<?php
	$url = $this->url('product', array(
	    'action' => 'delete',
	    'id' => $this->id,
	));
	?>
	<form action="<?php echo $url; ?>" method="post">
	    <div>
		<input name="id" value="<?php echo $this->id; ?>" type="hidden" />
		<input name="del" class="btn btn-default" value="Yes" type="submit" />
		<input name="del" class="btn btn-default" value="No" type="submit" />
	    </div>
	</form> 
    </div>
</div>